package org.xqyy.eval.service;

import org.xqyy.eval.model.DeptGroup;
import org.xqyy.eval.model.TDeptGroup;

import java.util.List;
import java.util.Map;

/**
 * Created by luoxiaoming on 16-12-24.
 */
public interface IDeptGroupService {

    public void add(Map<String, Object> params);

    public void modify(Map<String, Object> params);

    public void delete(Map<String, Object> params);

    public Map<String, Object> loadOne(String groupCode);

    public List<Map<String, Object>> load(Map<String, Object> params);

    public List<DeptGroup> selecAllDepGroup();

    /**
     * 新的增加科室分组
     * @param deptGroup
     * @return
     */
    public  Boolean addTDeptGroup(TDeptGroup deptGroup);

    /**
     * 根据id查询科室分组
     * @param deptGroup
     * @return
     */
    public  TDeptGroup findTDeptGroupById(TDeptGroup deptGroup);

    /**
     * 新的修改科室分组
     * @param deptGroup
     * @return
     */
    public  Boolean updateTDeptGroup(TDeptGroup deptGroup);

    /**
     * 新的查询所有科室分组
     * @param
     * @return
     */
    public List<TDeptGroup> selectAllTDeptGroup();

    /**
     * 新的删除科室分组
     * @param deptGroup
     * @return
     */
    public  Boolean delTDeptGroup(TDeptGroup deptGroup);
}
